package com.abc.service;

import com.abc.bean.Patient;
import com.abc.mapper.KcyhMapper;
import com.abc.mapper.PatientMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: bc
 * @Date: 2024-11-17 12:37
 * @Description:
 */
@Service
public class KcyhService {
    @Autowired
    private KcyhMapper kcyhMapper;

    public List<Map<String,Object>> selectKcyhByPatientId(String patientId) {
        return kcyhMapper.selectKcyhByPatientId(patientId);
    }
    public int insertKcyh(Map<String,Object> map) {
        return kcyhMapper.insertKcyh(map);
    }
    public int updateKcyh(Map<String,Object> map) {
        return kcyhMapper.updateKcyh(map);
    }
}
